package com.sgcc.sx.pmos.e_sx_mall.contract;

import com.sgcc.sx.pmos.common.base.IView;
import com.sgcc.sx.pmos.common.bean.BaseResponse;
import com.sgcc.sx.pmos.e_sx_mall.bean.MallGoodsBean;

public class GoodsSearchContract {
    public interface View extends IView {
        void queryGoodsListSuccess(MallGoodsBean response);

        void queryGoodsListFailed();

        void addCollectionSuccess(BaseResponse response);

        void addCollectionFailed();
    }

    public interface Presenter {
        void getGoodsList(int pageSize, boolean isLoading,String searchContent);

        void addUserPackageCollection(String membersUserName, String membersSdId, String membersSdName,
                                      String combId, String combName);

        void deletePackageById(String combId, String membersSdId);
    }
}
